package com.castle.fortress.admin.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.castle.fortress.admin.core.entity.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 商品参数表 实体类
 *
 * @author majunjie
 * @since 2021-11-25
 */
@Data
@TableName("goods_params")
@EqualsAndHashCode(callSuper = true)
public class GoodsParamsEntity extends BaseEntity  {
	private static final long serialVersionUID = 1L;
	/**
	 * 商品id
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long goodsId;
	/**
	 * 参数名
	*/
	private String name;
	/**
	 * 值
	*/
	private String value;
	/**
	 * 排序
	*/
	private Integer sort;

}
